.class Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;
.super Ljava/lang/Object;
.source "ElementWorkspaceControlBtn.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/ElementWorkspaceControlBtn;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "WorkspaceScrollAniListener"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;


# direct methods
.method private constructor <init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V
    .locals 0
    .parameter

    .prologue
    .line 1727
    iput-object p1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;Lcom/nemustech/regina/ElementWorkspaceControlBtn$1;)V
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 1727
    invoke-direct {p0, p1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V

    return-void
.end method


# virtual methods
.method public onAnimationEnd(Lcom/nemustech/tiffany/world/TFAnimation;)V
    .locals 5
    .parameter "animation"

    .prologue
    const/4 v4, 0x0

    .line 1730
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getViewMode()I

    move-result v2

    const/4 v3, 0x4

    if-eq v2, v3, :cond_0

    .line 1731
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v2

    invoke-virtual {v2, v4}, Lcom/nemustech/regina/ReginaLauncher;->setViewMode(I)V

    .line 1733
    :cond_0
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getElementLocator()Lcom/nemustech/regina/ElementLocator;

    move-result-object v1

    .line 1734
    .local v1, locator:Lcom/nemustech/regina/ElementLocator;
    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Lcom/nemustech/regina/ElementLocator;->setWorkspaceAnimationListener(Lcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;)V

    .line 1735
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v2

    invoke-virtual {v2, v4}, Lcom/nemustech/regina/ReginaLauncher;->setRenderAffinity(Z)V

    .line 1736
    invoke-virtual {v1, v4}, Lcom/nemustech/regina/ElementLocator;->setScrollState(I)V

    .line 1737
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$600(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-result-object v2

    invoke-virtual {v2, v4}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getLocation(I)F

    move-result v0

    .line 1738
    .local v0, bandXPos:F
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v2, v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$2900(Lcom/nemustech/regina/ElementWorkspaceControlBtn;F)V

    .line 1739
    return-void
.end method

.method public onAnimationStart(Lcom/nemustech/tiffany/world/TFAnimation;)V
    .locals 2
    .parameter "animation"

    .prologue
    .line 1743
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;->this$0:Lcom/nemustech/regina/ElementWorkspaceControlBtn;

    invoke-static {v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ReginaLauncher;->setRenderAffinity(Z)V

    .line 1744
    return-void
.end method
